<template>
  <div id="cd">
    <el-table
    :data="tableData"
    border
    style="width: 100%">
    <el-table-column
      prop="loginDate"
      label="日期"
      width="180">
    </el-table-column>
    <el-table-column
      prop="adminId"
      label="姓名"
      width="180">
    </el-table-column>
    <el-table-column
      prop="loginId"
      label="登录时间">
    </el-table-column>
  </el-table>

  <div class="block">
    <span class="demonstration">完整功能</span>
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="currentPage4"
      :page-sizes="[100, 200, 300, 400]"
      :page-size="100"
      layout="total, sizes, prev, pager, next, jumper"
      :total="400">
    </el-pagination>
  </div>
  
  </div>
</template>

<script>
import { rizhi } from '@/apis/zhaowenbo/zhaowenbo.js'
export default {
    data() {
      return {
        tableData: [{}]
      }
    },
    mounted(){
      rizhi().then((ok)=>{
        console.log(ok);
        this.tableData=ok.data.data
      })
    }

}
</script>

<style scoped>
.el-table__body-wrapper is-scrolling-left{
width:100%;
}

</style>